package org.springframework.fusion.tools;

import java.util.UUID;

public class Test {

	public static void main(String[] args) {
		
		String content=UUID.randomUUID().toString();
		String deSencode = EncryptTool.DESencode(content, "1234567890");
		System.out.println(deSencode);
		String deSdecode = EncryptTool.DESdecode(deSencode, "1234567890");
		System.out.println(deSdecode);

		String aeSencode = EncryptTool.AESencode(content, "12345");
		System.out.println(aeSencode);
		String aeSdecode = EncryptTool.AESdecode(aeSencode, "12345");
		System.out.println(aeSdecode);
		
		String xoRencode = EncryptTool.XORencode(content, "abc");
		System.out.println(xoRencode);
		String xoRdecode = EncryptTool.XORdecode(xoRencode, "abc");
		System.out.println(xoRdecode);
		
		
	}
}
